翻訳と辞書
Words near each other
・ Inlecypris jayarami
・ Inlet
・ Inlet (disambiguation)
・ Inlet Beach, Florida
・ Inlet Centre Station
・ Inlet cone
・ Inlet ionization
・ Inlet manifold
・ Inlet Square Mall
・ Inlet Theatre
・ Inlet, New York
・ Inlet, Wisconsin
・ Inliers and outliers (geology)
・ Inline
・ Inline (slot car)
Inline assembler
・ Inline blowback (paintball)
・ Inline boarding
・ Inline caching
・ Inline chromatic harp
・ Inline engine
・ Inline engine (aeronautics)
・ Inline expansion
・ Inline figure skating
・ Inline function
・ Inline hockey at the 1999 Pan American Games
・ Inline hockey at the World Games
・ Inline hockey at the World Games 2009
・ Inline hockey in the United Kingdom
・ Inline hockey SM-liiga


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Inline assembler : ウィキペディア英語版
Inline assembler
In computer programming, the inline assembler is a feature of some compilers that allows very low level code written in assembly to be embedded in a high level language like C or Ada. This embedding is usually done for one of three reasons:
;Optimization: When assembly language is inlined for optimization, the most performance-sensitive parts of an algorithm are replaced by hand-written assembly. This allows the programmer to use the full extent of his ingenuity, without being limited by a compiler's higher-level constructs.
;Access to processor specific instructions: Some processors offer special instructions, such as Compare and Swap and Test and Set — instructions which may be used to construct semaphores or other synchronization and locking primitives. Nearly every modern processor has these or similar instructions, as they are necessary to implement multitasking. To name a few, specialized instructions are found in the SPARC VIS, Intel MMX and SSE, and Motorola Altivec instruction sets.
;System calls: High-level languages rarely have a direct facility to make system calls, so assembly code is used.
== Syntax in language standards ==
The ISO C++ standard and ISO C standards (annex J) specify a conditionally-supported syntax for inline assembler:

An asm declaration has the form
asm-definition:
asm ( string-literal ) ;
The asm declaration is conditionally-supported; its meaning is implementation- defined.


抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Inline assembler」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.